package com.netflix.service.shopping;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan("com.netflix.basic.controller")
@SpringBootApplication
@EnableEurekaClient
public class ShoppingService {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ShoppingService.class).web(WebApplicationType.SERVLET).run(args);
    }
}
